package com.db4o.odbgen.plugins.java.maingenerator.typedxmlschema.xtree;

import java.util.ArrayList;
import java.util.List;

public abstract class XTreeElement {
	private List<XTreeElement> _children;
	private XTreeElement _parent;
	
	protected XTreeElement(){
		this._children = new ArrayList<XTreeElement>();
	}
	
	public void setChildren(List<XTreeElement> _children) {
		this._children = _children;
	}
	public List<XTreeElement> getChildren() {
		return _children;
	}
	public void setParent(XTreeElement parent) {
		this._parent = parent;
	}
	public XTreeElement getParent() {
		return _parent;
	}
}
